//
//  DiseaseTypeCell.m
//  QuickCure1
//
//  Created by Ashzenki on 02/11/2016.
//  Copyright © 2016 maoge. All rights reserved.
//

#import "DiseaseTypeCell.h"

@interface DiseaseTypeCell ()





@end

@implementation DiseaseTypeCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.lb_type.font = MYROUNDFONT(16);

}

- (void)setCount:(NSInteger)count {
    
    _count = count;
    
    switch (_count) {
        case 0:
            _iv_icon.image = [UIImage imageNamed:@"zl"];
            _lb_type.text = @"肿瘤";
            break;
        case 1:
            _iv_icon.image = [UIImage imageNamed:@"xyg"];
            _lb_type.text = @"心血管";
            break;
        case 2:
            _iv_icon.image = [UIImage imageNamed:@"sj"];
            _lb_type.text = @"神经科";
            break;
        case 3:
            _iv_icon.image = [UIImage imageNamed:@"xy"];
            _lb_type.text = @"血液科";
            break;
        case 4:
            _iv_icon.image = [UIImage imageNamed:@"gt"];
            _lb_type.text = @"骨科";
            break;
        case 5:
            _iv_icon.image = [UIImage imageNamed:@"gy"];
            _lb_type.text = @"公益活动";
            break;
        default:
            break;
    }
}

@end


































